[INFO] fetching crate drogue-mpu-6050 0.1.0...
[INFO] building drogue-mpu-6050-0.1.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate drogue-mpu-6050 0.1.0 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate drogue-mpu-6050 0.1.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate drogue-mpu-6050 0.1.0
[INFO] finished tweaking crates.io crate drogue-mpu-6050 0.1.0
[INFO] tweaked toml for crates.io crate drogue-mpu-6050 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad11896c1d763d655b2effc17d8f7216d2dc96000aa0a9c7e2db65afcdc8dbb0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ad11896c1d763d655b2effc17d8f7216d2dc96000aa0a9c7e2db65afcdc8dbb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad11896c1d763d655b2effc17d8f7216d2dc96000aa0a9c7e2db65afcdc8dbb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad11896c1d763d655b2effc17d8f7216d2dc96000aa0a9c7e2db65afcdc8dbb0", kill_on_drop: false }`
[INFO] [stdout] ad11896c1d763d655b2effc17d8f7216d2dc96000aa0a9c7e2db65afcdc8dbb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96514403173a9148c4ca5ceb548e50571e1baf58f657b795195d083f7273603b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "96514403173a9148c4ca5ceb548e50571e1baf58f657b795195d083f7273603b", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling cortex-m v0.7.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m v0.6.7
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling volatile-register v0.2.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling generic-array v0.13.3
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling as-slice v0.1.5
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling embedded-time v0.10.1
[INFO] [stderr]    Compiling aligned v0.3.4
[INFO] [stderr]    Compiling drogue-embedded-timer v0.2.1
[INFO] [stderr]    Compiling drogue-mpu-6050 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::marker::PhantomData`
[INFO] [stdout]   --> src/sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::marker::PhantomData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         value |= (1 << 0);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |         value |= (filter as u8);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         value |= (1 << 2);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |         value |= (1 << 6);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         value |= (1 << 3);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if self.temp  { byte |= (1 << 7) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if self.xg    { byte |= (1 << 6) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if self.yg    { byte |= (1 << 5) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if self.zg    { byte |= (1 << 4) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if self.accel { byte |= (1 << 3) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if self.slv2  { byte |= (1 << 2) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if self.slv1  { byte |= (1 << 1) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if self.slv0  { byte |= (1 << 0) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loops`
[INFO] [stdout]    --> src/sensor.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error<I2c>> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/sensor.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sensor.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `GyroBiases`
[INFO] [stdout]   --> src/gyro.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct GyroBiases {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/sensor.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.write_register(Register::PwrMgmt1, value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/firmware_loader.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.set_bank(bank);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.53s
[INFO] running `Command { std: "docker" "inspect" "96514403173a9148c4ca5ceb548e50571e1baf58f657b795195d083f7273603b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96514403173a9148c4ca5ceb548e50571e1baf58f657b795195d083f7273603b", kill_on_drop: false }`
[INFO] [stdout] 96514403173a9148c4ca5ceb548e50571e1baf58f657b795195d083f7273603b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed1df4528e4f29c56d04df7e58e37ef3d869de01285a8728b55387b10e31fcb1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ed1df4528e4f29c56d04df7e58e37ef3d869de01285a8728b55387b10e31fcb1", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `core::marker::PhantomData`
[INFO] [stdout]   --> src/sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::marker::PhantomData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         value |= (1 << 0);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |         value |= (filter as u8);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         value |= (1 << 2);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |         value |= (1 << 6);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling drogue-mpu-6050 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         value |= (1 << 3);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if self.temp  { byte |= (1 << 7) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if self.xg    { byte |= (1 << 6) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if self.yg    { byte |= (1 << 5) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if self.zg    { byte |= (1 << 4) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if self.accel { byte |= (1 << 3) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if self.slv2  { byte |= (1 << 2) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if self.slv1  { byte |= (1 << 1) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if self.slv0  { byte |= (1 << 0) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loops`
[INFO] [stdout]    --> src/sensor.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error<I2c>> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/sensor.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sensor.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `GyroBiases`
[INFO] [stdout]   --> src/gyro.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct GyroBiases {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/sensor.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.write_register(Register::PwrMgmt1, value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/firmware_loader.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.set_bank(bank);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::marker::PhantomData`
[INFO] [stdout]   --> src/sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::marker::PhantomData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         value |= (1 << 0);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |         value |= (filter as u8);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         value |= (1 << 2);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |         value |= (1 << 6);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         value |= (1 << 3);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if self.temp  { byte |= (1 << 7) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if self.xg    { byte |= (1 << 6) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if self.yg    { byte |= (1 << 5) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if self.zg    { byte |= (1 << 4) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if self.accel { byte |= (1 << 3) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if self.slv2  { byte |= (1 << 2) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if self.slv1  { byte |= (1 << 1) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if self.slv0  { byte |= (1 << 0) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loops`
[INFO] [stdout]    --> src/sensor.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error<I2c>> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/sensor.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sensor.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `GyroBiases`
[INFO] [stdout]   --> src/gyro.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct GyroBiases {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/sensor.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.write_register(Register::PwrMgmt1, value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/firmware_loader.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.set_bank(bank);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "ed1df4528e4f29c56d04df7e58e37ef3d869de01285a8728b55387b10e31fcb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed1df4528e4f29c56d04df7e58e37ef3d869de01285a8728b55387b10e31fcb1", kill_on_drop: false }`
[INFO] [stdout] ed1df4528e4f29c56d04df7e58e37ef3d869de01285a8728b55387b10e31fcb1
